package com.heima;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@ServletComponentScan	//servlet组件扫描，扫描当前类所在路径下及往下的内容
@MapperScan("com.heima.dao")
@SpringBootApplication
public class ReggieApplication {

	public static void main(String[] args) {
		SpringApplication.run(ReggieApplication.class, args);
		System.out.println("项目启动！！！");
	}

}
